<?php
    function includTemplate ($template = '') {
        echo $template;
    }

    function includArray ($template = []) {
        foreach ($template as $key => $item) {
            echo $item;
        }
    } ?>
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link rel="stylesheet" href="/assets/css/bootstrap.css">
    <script src="https://unpkg.com/vue@next"></script>
    <script src="https://unpkg.com/axios/dist/axios.min.js"></script>
    <title>Wal'kofe</title>
    <?php  function setTemplate ($template) {
        if (is_array($template)) {
            includeArray($template);
        } else {
            includTemplate($template);
        }
    } ?>
</head>

